import 'package:flutter/material.dart';
import './routes/routes.dart';
import './enter.dart';

void main() {
  runApp(const MainPage());
}

class MainPage extends StatelessWidget {
  const MainPage({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
        title: 'flutter Demo',
        theme: ThemeData(primarySwatch: Colors.blue),
        // initialRoute: '/enter',
        home: const EntePage(),
        onGenerateRoute: onGenerateRoute);
  }
}
